﻿using System;

namespace Aquarinum.Base.Infrastructure.WebSocket.MessageHandler
{
    /// <summary>
    ///     消息处理策略属性
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public class HandlerPropertyAttribute : Attribute
    {
        /// <summary>
        ///     Handler针对的消息类型
        /// </summary>
        public string MessageType { get; set; }

        /// <summary>
        ///     Handler排序，用于处理时依次处理
        /// </summary>
        public int HandlerOrder { get; set; }
    }
}